<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>谷医堂后台管理系统</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="../pages_doctor/css/style.css">
    <style>
        .unfinish,.unfinish2,.invitelist{
            color: #fff;
            width: 18px;
            height: 18px;
            font-size: 14px;
            line-height: 18px;
            margin-left: 28px;
            background: #e4393c;
            border-radius: 50%;
            display: none;
            text-align: center;
        }
        .zzzz{
            position: fixed;
            left:0;
            top:0;
            background: rgba(0,0,0,0.6);
            z-index:999;
            width:100%;
            height:100%;
            display: block;
        }
        .zzzz1{
            width:400px;
            height:400px;
            background: #fff;
            position: relative;
            left:50%;
            top:50%;
            margin-top:-200px;
            margin-left:-200px;
            padding: 20px;
        }

    </style>
</head>
<body>
<div class="zzzz">
    <div class="zzzz1">
        <p>修改密码</p>
        <p style="height: 200px;margin-top: 10px;text-align: center;line-height: 30px" class="txt-alert">
            <span class="text-left" style="display: inline-block;width: 20%;margin-right: 10px;margin-top: 20px" >原密码</span>
            <span style="display: inline-block;width: 70%;"><input type="password" placeholder="请输入原始密码" style="width: 100%" class="oldpwd" onkeypress="onKeyPresss(event)"></span>
            <span class="text-left" style="display: inline-block;width: 20%;margin-right: 10px;margin-top: 20px" >新密码</span>
            <span style="display: inline-block;width: 70%;"><input type="password" placeholder="新密码不能少于6位数字" style="width: 100%" class="newpwd" onkeypress="onKeyPresss(event)"></span>
            <span class="text-left" style="display: inline-block;width: 20%;margin-right: 10px;margin-top: 20px" >重&nbsp;&nbsp;&nbsp;&nbsp;复</span>
            <span style="display: inline-block;width: 70%;"><input type="password" placeholder="再次输入新密码" style="width: 100%" class="repeatpwd" onkeypress="onKeyPresss(event)"></span>
        </p>
        <div style="height: 50px"><p class="errmsg" style="color:red;text-align: right;padding-right: 50px;margin-bottom: 30px;display: none">X 原始密码错误</p></div>
        <p class="text-center">
            <button type="button" class="btn  sure-btn" onclick="change_Password(event)" style="width: 100px;background: #1ABB9C;color: #fff;margin-right: 100px">保存</button>
            <button type="button" class="btn  mis-btn" style="width: 100px;background: #fff;color: #1ABB9C;border: 1px solid #1ABB9C">取消</button>
        </p>
    </div>
</div>
<div style="height: 100px">
    <div class="toplogo" style="position: fixed">
        <a href="#" class="logot"><img src="../img/LOGO.png" alt=""></a>
        <a type="button" class="btn login_out"
           style="background:#1abb9c;float: right;margin-right: 130px;margin-top: 60px;border: none;width: 86px;color: #fff;font-size: 14px">退出</a>
        <a type="button" class="btn change_Password"
           style="background:#1abb9c;float: right;margin-right: 20px;margin-top: 60px;border: none;width: 86px;color: #fff;font-size: 14px">修改密码</a>
    </div>
</div>
<section>
    <div class="left-side sticky-left-side">
        <div class="logo">
            <a href="#"><img src="../img/headerpic.png" class="img-circle" width="60"><span class="usermsg"></span></a>
        </div>
        <div id="leftmenu" class="left-side-inner">
            <ul class="nav nav-pills nav-stacked custom-nav">
                <!--<li><a href="#" class="dropdown-toggle"><i class="icon-laptop"></i><span class="menu-text"> 在线管理 </span><b class="arrow icon-angle-down"></b></a>-->
                <!--<ul class="submenu">-->
                <!--<li class="home"><a href="javascript:void(0)" name="home" title="客服管理"  class="iframeurl"><i class="icon-double-angle-right"></i>客服管理</a></li>-->
                <!--<li class="home"><a href="javascript:void(0)" name="home" title="医生管理" class="iframeurl"><i class="icon-double-angle-right"></i>医生管理<span class="badge badge-danger"></span></a></li>-->
                <!--<li class="home"><a href="javascript:void(0)" name="home" title="药师管理" class="iframeurl"><i class="icon-double-angle-right"></i>药师管理<span class="badge badge-danger"></span></a></li>-->
                <!--</ul>-->
                <!--</li>-->
                <!--<li><a href="#" class="dropdown-toggle"><i class="icon-comments-alt"></i><span class="menu-text"> 基本信息采集单管理 </span><b class="arrow icon-angle-down"></b></a>-->
                <!--<ul class="submenu">-->
                <!--<li class="home"><a href="javascript:void(0)" name="Feedback" title="分类管理" class="iframeurl"><i class="icon-double-angle-right"></i>分类管理</a></li>-->
                <!--<li class="home"><a href="javascript:void(0)" name="Feedback" title="创建基本信息采集单" class="iframeurl"><i class="icon-double-angle-right"></i>创建基本信息采集单</a></li>-->
                <!--</ul>-->
                <!--</li>-->
                <!--<li><a href="javascript:void(0)" name="administrator" title="健康档案管理" class="iframeurl"><i class="icon-group"></i><span class="menu-text"> 健康档案管理 </span></a></li>-->
                <li class="menu-list doctor">
                    <a href="#"><i class="fa fa-home"></i> <span>医生</span></a>
                    <ul class="sub-menu-list">

                        <!--<li class="home"><a href="javascript:void(0)" name="admin_Competence.html" title="权限管理"  class="iframeurl"><i class="icon-double-angle-right"></i>权限管理</a></li>-->
                        <li><a href="javascript:void(0)" name="../pages_doctor/html/invitelist" title="邀请列表" class="iframeurl">邀请列表 <span class="invitelist">0</span></a></li>
                        <li><a href="javascript:void(0)" name="../pages_doctor/html/unfinish" title="待办事项" class="iframeurl">待办事项 <span class="unfinish">0</span></a></li>
                        <li><a href="javascript:void(0)" name="../pages_doctor/html/finish" title="已办事项" class="iframeurl">已办事项</a></li>
                        <li><a href="javascript:void(0)" name="../pages_doctor/html/mypartener" title="我的助理" class="iframeurl">我的助理</a></li>
                    </ul>
                </li>
                <li class="menu-list apothecary">
                    <a href="#"><i class="fa fa-home"></i> <span>药师</span></a>
                    <ul class="sub-menu-list">

                        <!--<li class="home"><a href="javascript:void(0)" name="admin_Competence.html" title="权限管理"  class="iframeurl"><i class="icon-double-angle-right"></i>权限管理</a></li>-->
                        <li><a href="javascript:void(0)" name="../pages_apothecary/html/unfinish" title="待办事项" class="iframeurl">待办事项<span class="unfinish2">0</span></a></li>
                        <li><a href="javascript:void(0)" name="../pages_apothecary/html/finish" title="已办事项" class="iframeurl">已办事项</a></li>
                    </ul>
                </li>
                <!--<li class="login-left"><a href="javascript:void(0)" class="login_out"><i class="fa fa-sign-in"></i> <span>登出</span></a></li>-->
            </ul>
        </div>
    </div>
    <div class="main-content">
        <div class="wrapper">
            <iframe id="iframe" style="border:0; width:100%; background-color:#FFF;"name="iframe" frameborder="0" src="../pages_doctor/html/invitelist.html">  </iframe>
        </div>
    </div>
    <!--&lt;!&ndash;修改密码样式&ndash;&gt;-->
    <!--<div class="change_Pass_style" id="change_Pass">-->
        <!--<ul class="xg_style">-->
            <!--<li><label class="label_name">原&nbsp;&nbsp;密&nbsp;码</label><input name="原密码" type="password" class="" id="password"></li>-->
            <!--<li><label class="label_name">新&nbsp;&nbsp;密&nbsp;码</label><input name="新密码" type="password" class="" id="Nes_pas"></li>-->
            <!--<li><label class="label_name">确认密码</label><input name="再次确认密码" type="password" class="" id="c_mew_pas"></li>-->
        <!--</ul>-->
    <!--</div>-->
</section>
<div style="width: 300px;height: 200px;position: fixed;bottom: -200px;right: 0;background: #f1f1f1;" id="msgnew">
    <p style="height: 50px;background: #ddd;padding: 10px">新消息</p>
    <div class="newmsg" style="height: 100px;text-align: center;padding: 20px"></div>
    <div style="height: 50px;width: 300px">
        <span style="width: 100%;height: 50px;display: inline-block;cursor: pointer">
            <a class="closemsg" style="width: 100%;height: 100%;display: inline-block;border-top: 1px solid #ddd;text-align: center;line-height: 50px;color: #999;">关闭</a>
        </span>
    </div>
</div>
<script src="../pages_doctor/js/jquery-1.10.2.min.js"></script>
<script src="../pages_doctor/js/bootstrap.min.js"></script>
<script src="../pages_doctor/js/scripts.js"></script>

<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/socket.io/2.0.4/socket.io.js"></script>
<script src="../common.js"></script>
<script src="index.js" type="text/javascript"></script>
<script>
    $(function() {
        $(".login_out").on("click", function() {
            $.ajax({
                url: 'http://114.55.38.80:9000/service/logout',
                type: "post",
                data: {
                },
                success: function(d) {
                    console.log(d);
                    if(d.code == 101) {
                        window.location = "../pages_doctor/html/login.html";
                    } else {
                        alert("服务器丢了！")
                    }
                }
            });
        })
    })
</script>
</body>
</html>